import java.util.Scanner;

public class test_Sing {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        // 定义一个数组来存储评委的打分
        double[] scores = new double[6];

        // 录入评委的打分
        System.out.println("请依次输入六名评委的打分：");
        for (int i = 0; i < scores.length; i++) {
            System.out.print("评委 " + (i + 1) + " 的打分：");
            scores[i] = scanner.nextDouble();
        }

        // 计算总分
        double totalScore = 0;
        for (int i = 0; i < scores.length; i++) {
            totalScore += scores[i];
        }

        // 计算平均分
        double averageScore = totalScore / scores.length;

        // 输出平均分作为选手得分
        System.out.println("选手的平均得分为：" + averageScore);

        scanner.close();
    }
}
